#include <iostream>
using std::cout;
using std::endl;

/* #define MAX(a,b) (a)>(b)?(a):(b) */
#define MAX(a,b) ((a)>(b)?(a):(b))

inline int max(int x, int y)
{
	return x > y ? x : y;
}

void test0(){
    //(20)>(10)?(20):(10) + 20
    int result = MAX(20,10) + 20;//result的值是多少？
    //(10)>(20)?(10):(20) + 20
    int result2 = MAX(10,20) + 20;//result2的值是多少？
    cout << result << endl;
    cout << result2 << endl;
}

void test1(){
    //希望的结果是4,5
    int i = 4,j = 3;
    //((i++)>(j)?(i++):(j))
    /* int result = MAX(i++,j); */

    int result = max(i++,j);
    cout << result << endl;
    cout << i << endl; 
}

int main(void){
    test1();
    return 0;
}
